home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pdox693.zip / TI1088.ASC < prev    next >
Text File  |  1992-12-02  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                               NUMBER  :  1088
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  December 2, 1992                         PAGE  :  1/2
  12.  
  13.     TITLE  :  Converting Julian Numbers to Paradox Dates
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience:
  19.   This Technical Information sheet is intended for someone with a
  20.   moderate level of Paradox knowledge.
  21.  
  22.   Prerequisites:
  23.   A basic understanding of the Paradox Ask feature.
  24.  
  25.   Purpose:
  26.   This Technical Information sheet demonstrates how you can use a
  27.   query to convert Julian numbers to Paradox Dates.
  28.  
  29.   Julian numbers represent the number of days that have passed
  30.   since a set date (the date could be December 31, 1899, the birth
  31.   of Christ, 9/16/64 etc).  For example, if the set date that the
  32.   Julian number is based on is December 31, 1899, the Julian number
  33.   10 is equivalent of the calendar date January 10, 1900.  This
  34.   Technical Information sheet assumes that the set date is
  35.   December 31, 1899 and it provides step-by-step instructions for
  36.   converting Julian numbers to Paradox dates.  If you have imported
  37.   data into Paradox from another software program and the date is
  38.   represented as a Julian number, consult the documentation from
  39.   that software program for the appropriate set date.
  40.  
  41.      1.  Select {Ask} from the Paradox menu.
  42.  
  43.      2.  When prompted, type in the name of your table name
  44.          and press <Enter>.
  45.  
  46.      3.  Move the cursor to the leftmost column of the query form
  47.          so it is directly underneath the table name.
  48.  
  49.      4.  Press <Alt-F6> to place a checkplus in all the fields.
  50.  
  51.      5.  Move the cursor to the field containing the Julian number.
  52.  
  53.      6.  Press <F5> followed by J.
  54.  
  55.      7.  There should now be a highlighted example element J in the
  56.          column containing the Julian number.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                               NUMBER  :  1088
  75.   VERSION  :  All
  76.        OS  :  DOS
  77.      DATE  :  December 2, 1992                         PAGE  :  2/2
  78.  
  79.     TITLE  :  Converting Julian Numbers to Paradox Dates
  80.  
  81.  
  82.  
  83.  
  84.      8.  When your query is complete it will look similar to the
  85.          one listed below: *
  86.  
  87.            DATES ║ Julian Number                               ║
  88.            ══════╬═════════════════════════════════════════════╣
  89.                  ║ √+ _J, calc 12/31/1899 + _J as "New Date"   ║
  90.  
  91.      9.  Press <F2> to process the query.
  92.  
  93.     10.  An Answer table will appear containing the converted
  94.          dates.
  95.  
  96.        * The underscore character "_" represents an example
  97.          element.  Example elements are created by pressing <F5>
  98.          followed by a letter. For example, example element J is
  99.          created by pressing press <F5> followed by the letter J.
  100.  
  101.   For additional information about queries, refer to the chapter on
  102.   Ask in the Paradox User's Guide.
  103.  
  104.   DISCLAIMER: You have the right to use this technical information
  105.   subject to the terms of the No-Nonsense License Statement that
  106.   you received with the Borland product to which this information
  107.   pertains.
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.